QWidget#gray { background-color: #f4f4f4; }



QPushButton {
	color: #555555;
	border: 1px solid #afafb1;
	background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #eeeeee, stop: 1 #d6d7da); /*cacbce*/
	padding: 2px 4px 2px 4px;
	min-width: 50px;
	/*min-height: 20px;*/
}

QPushButton#diag_plus,#diag_minus { max-width: 14px; min-width:14px; }

QPushButton:hover { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,  stop: 0 #e6e7ea, stop: 1 #dadbde); }
/*QPushButton:hover { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,  stop: 0 #e6e7ea, stop: 1 #dadbde); }*/
QPushButton:checked { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,  stop: 0 #f6f7fa, stop: 1 #f6f7fa); border-color: #cfcfd1; }
/*QPushButton:checked { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,  stop: 0 #e6e7ea, stop: 1 #dadbde); }*/
QPushButton:pressed { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,  stop: 0 #dadbde, stop: 1 #f6f7fa); }
QPushButton:flat { border: none; }
QPushButton:default {  border-color: navy; }

QGraphicsScene { background-color: #f7f8f8; }

QGraphicsView { background-color: #eef0f2; }

/*QLabel#label_title { color:#ffffff; background-color: #999999; }*/


 QGroupBox {
     
     border: 1px solid #cccccc;
     margin-top: 1ex; /* leave space at the top for the title */
 }

 QGroupBox::title {
     top: -5px;
     left: 10px;
     padding-left: 3px;
     padding-right: 3px;
     color: #999999;
 }

QLineEdit 
{
	background-color: #f7f7f7;
	border: 1px solid #b0b0b0;
}

QTextEdit 
{
	background-color: #f7f7f7;
	border: 1px solid #cccccc;
}

/*QSlider::groove:horizontal {
         border: 1px solid #999999;
         height: 8px; 
         background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
         margin: 2px 0;
     }

     QSlider::handle:horizontal {
         background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
         border: 1px solid #5c5c5c;
         width: 18px;
         margin: -2px 0;
         border-radius: 3px;
     }*/



QCheckBox {
     spacing: 1px;
 }

 QCheckBox::indicator {
     width: 15px;
     height: 15px;
  }

 QCheckBox::indicator:unchecked {
     image: url(:/img_harm/checkbox_unchecked.png);
 }

 /*QCheckBox::indicator:unchecked:hover {
     image: url(:/images/checkbox_unchecked_hover.png);
 }

 QCheckBox::indicator:unchecked:pressed {
     image: url(:/images/checkbox_unchecked_pressed.png);
 }*/

 QCheckBox::indicator:checked {
     image: url(:/img_harm/checkbox_checked.png);
 }

 /*QCheckBox::indicator:checked:hover {
     image: url(:/images/checkbox_checked_hover.png);
 }

 QCheckBox::indicator:checked:pressed {
     image: url(:/images/checkbox_checked_pressed.png);
 }

 QCheckBox::indicator:indeterminate:hover {
     image: url(:/images/checkbox_indeterminate_hover.png);
 }

 QCheckBox::indicator:indeterminate:pressed {
     image: url(:/images/checkbox_indeterminate_pressed.png);
 }*/
 
 
 
 
 
 /* QTabWidget */
QTabWidget { /*border-style: inset;*/ 
	border: 1px solid #c0c0c0;
	border-style: inset;
}
QTabWidget::pane
{
	border: 0px;
	border-top: 1px solid #cccccc; 
}
QTabWidget#gftab::pane
{
	border: 1px solid #cccccc; 
}
QTabWidget::tab-bar#maintab
{
	alignment: center;
}

/*QTabBar::tab { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E1E1E1,
	stop: 0.4 #DDDDDD, stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);*/

/*QTabBar, QTabWidget
{
icon-size: 21px;
}*/


QTabBar::tab 
{
	margin-top: 1px;
	top: -1px;
	background: #e5e5e5;
	border: 1px solid #cccccc;
	/*border-bottom: 0px;*/
		
	/*border-top: 0px; */
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	/*min-width: 8ex;*/
	padding: 2px;
	padding-left: 4px;
	padding-right: 4px;
	/*icon-size:21px;*/
	
}
 
 
QTabBar::tab:selected, QTabBar::tab:hover {
	/*background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
	stop: 0 #fafafa, stop: 0.4 #f4f4f4, stop: 0.5 #e7e7e7, stop: 1.0 #fafafa); }*/
	background: #f4f4f4;
}

/* same as pane color */
QTabBar::tab:selected { border-color: #cccccc; border-bottom: 0px; }
 

